package com.example.demo.execute;

import com.alibaba.fastjson.JSON;
import org.camunda.bpm.engine.delegate.DelegateExecution;
import org.camunda.bpm.engine.delegate.JavaDelegate;

import java.util.Map;

/**
 * @author: NXY
 * @date: 2021-12-31 10:52
 **/
public class BusinessRefuseExecution implements JavaDelegate {
    @Override
    public void execute(DelegateExecution delegateExecution) throws Exception {
        Map<String,Object> map=delegateExecution.getVariables();
        System.out.println("拒绝处理----------"+ JSON.toJSONString(map));

    }
}
